export const state = function() {
    return {
        num:1
    };
  };
  export const mutations = {
   setNum(state,data){
    state.num=data
   }
  };
  